package ObserverMode.InitialEdition.MainTest;

import ObserverMode.InitialEdition.observer.impl.CurrentConditionDisplay;
import ObserverMode.InitialEdition.subject.impl.WeatherData;

/**
 * 测试
 *
 * @Author Li Cheng
 * @Date 2021/8/12 22:32
 * @Version 1.0
 */
public class WeatherStation {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        CurrentConditionDisplay currentConditionDisplay = new CurrentConditionDisplay(weatherData);
        weatherData.setMeasurements(80,65,30.4f);

    }
}
